home *** CD-ROM | disk | FTP | other *** search
- # make chemesthetics with the SAS/Lattice C 5.10, Metalworx 08-Oct-91
- #
- # warning!!!! Do not invoke global optimizer GO (-O) on palettereq.c and
- # eingabe.c, on my system it always leads to crashes!
- #
-
- LANG=GERMAN
- DEBUG=-O
- CFLAGS=-d$(LANG) -ff -cstu -Hpre.sym -iinclude:pdomain -qdh0: -q5
- CFLAGS2=-d$(LANG) -ff -cstu -iinclude:pdomain -j132 -qdh0: -q5
-
- # flags: -d$(LANG) define language symbol at compile time
- # -d2 enable debugging mode 2
- # -ff use FFP floating point routines
- # -csut delete duplicate string constants, treat all
- # chars as unsigned, enable warnings for non-
- # defined structure or union tags
- # -Hpre.sym use precompiled includes for faster compilation
- # -i... set my own Include dir to be searched too
- # -j132 suppress warning #132 (tokens after #endif)
- # -O invoke global optimizer
- # -mt minimaze code for time
- # -qdh0: place quad (temporary) file in dh0:
- # -q5 stop compile after 5 errors
-
- OFILES=chemest.o eingabe.o rev.o logo.o credits.o requests.o\
- rout:palettereq.o metalworx.o globalstructs.o statistics.o prefs.o\
- license.o sysinfo.o rout:_main.o saveiff.o ilbmw.o diskio.o zeit_angabe.o
-
- all: chemest
-
- chemest: pre.sym $(OFILES)
- BLINK WITH chemest.with
- increv
-
- pre.sym: pre.c
- lc -csu -iinclude:pdomain -j132 -ph -opre.sym -q5 pre.c
-
- chemest.o: chemest.c chemest.h
- lc $(CFLAGS2) $(DEBUG) chemest
-
- eingabe.o: eingabe.c eingabe.h
- lc $(CFLAGS2) eingabe
-
- rev.o: rev.c
- lc rev
-
- logo.o: logo.c logo.h
- lc $(CFLAGS) $(DEBUG) -ca logo
-
- credits.o: credits.c credits.h messages.h
-
- metalworx.o: metalworx.c metalworx.h
- lc $(CFLAGS) $(DEBUG) -ca metalworx
-
- statistics.o: statistics.c
- lc $(CFLAGS) $(DEBUG) -ca statistics
-
- prefs.o: prefs.c prefs.h
- lc $(CFLAGS2) $(DEBUG) -ca prefs
-
- license.o: license.c license.h
- lc $(CFLAGS) $(DEBUG) -ca license
-
- requests.o: requests.c
- lc $(CFLAGS) $(DEBUG) -ca requests
-
- rout:palettereq.o: rout:palettereq.c rout:palettereq.h
-
- sysinfo.o: sysinfo.c
- lc $(CFLAGS) $(DEBUG) -ca sysinfo.c
-
- diskio.o: diskio.c cdmicon.h
- lc $(CFLAGS2) $(DEBUG) -ca diskio.c
-
- zeit_angabe.o: zeit_angabe.c zeit_angabe.h
- lc $(CFLAGS2) $(DEBUG) -ca zeit_angabe.c
-